package com.letoken.platform.repo.admin.req.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.letoken.platform.pub.req.QueryReqBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @author letokenlabs
 * @date 2022/11/23$
 */
@Data
@ApiModel(value = "查询app用户列表请求对象", description = "查询app用户列表请求对象")
public class QueryAppUserListReq extends QueryReqBase {

    @ApiModelProperty(name = "userId", value = "用户id", example = "10000011")
    private String userId;


    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "startTime", value = "开始时间", example = "2022-11-15 13:48:50")
    private LocalDateTime startTime;


    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "sendTime", value = "结束时间", example = "2022-11-17 13:48:50")
    private LocalDateTime sendTime;


}
